package com.gof.example.proxy.virtual;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/9 11:58.
 * haiming.fei@tongdun.cn
 */
public class ProxyCrawler extends AbstractCrawler {

    private AbstractCrawler crawler;

    @Override
    void crawl(String url) {
        if (crawler == null) {
            crawler = new Crawler();
        }

        crawler.crawl(url);
    }
}
